#!/bin/sh
#
# Get weather information from wttr.in 
#
curl -so "$XDG_CACHE_HOME"/weather 'https://wttr.in/Edirne?format=3' | grep -q "Unknown" \
	&& echo "wttr.in down" \
	|| sed -e 's/^.*\ /\ /' "$XDG_CACHE_HOME"/weather

